Skip to content

Conversation

@GreatAuk
Copy link
Contributor

@GreatAuk GreatAuk commented Nov 7, 2025

Description

image 这样定义类型, 编辑器上有代码提示,而且也可以自定义,不会类型报错
formatDate(new Date, 'HHcc')

commit 信息被我搞乱了,但真正更新的文件只有一个。所以合并时请选择 "Squash and Merge"

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Checklist

ℹ️ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs:dev command.
  • Run the tests with pnpm test.
  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Summary by CodeRabbit

  • Improvements
    • Date formatting functions now accept optional time parameters and support expanded format token options.
    • Invalid dates now trigger error handling instead of silent failures, improving data validation.

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2025

⚠️ No Changeset found

Latest commit: 85b85bc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 7, 2025

Walkthrough

The date utility module now accepts optional time parameters in formatDate and formatDateTime, introduces a new internal Format type for flexible format specifications, and enhances error handling by raising exceptions for invalid dates instead of silently proceeding.

Changes

Cohort / File(s) Summary
Date Utility Refactoring
packages/@core/base/shared/src/utils/date.ts
Added internal Format union type for date format tokens; made time parameter optional in formatDate and formatDateTime; changed error handling in formatDate to throw on invalid dates instead of silent fallback; adjusted control flow with nullish-coalescing defaults

Sequence Diagram(s)

sequenceDiagram
    participant Caller
    participant formatDate

    rect rgb(200, 220, 255)
    Note over Caller,formatDate: New Flow
    Caller->>formatDate: formatDate(time?, format)
    alt time is provided
        formatDate->>formatDate: Validate input
        alt Validation passes
            formatDate->>Caller: Return formatted string
        else Validation fails
            formatDate->>Caller: Throw error
        end
    else time is undefined
        formatDate->>Caller: Return stringified time (nullish coalescing)
    end
    end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • API signature changes: Breaking changes to formatDate and formatDateTime signatures; verify all call sites and dependent code handle optional time parameter correctly
  • Error handling logic: New error-throwing behavior differs from previous silent handling; ensure clients are prepared for exceptions
  • Type system changes: New internal Format type impacts type inference and validation; review format token coverage and type constraints
  • Backward compatibility: Check if any existing integrations rely on the old function signatures or silent error behavior

Suggested reviewers

  • anncwb
  • vince292007
  • mynetfan

Poem

🐰 Dates now flow with graceful bounds,
Optional time in softer sounds,
Errors raised when things go wrong,
Format tokens, strong and long,
Timestamps hop through time once more!

Pre-merge checks and finishing touches

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Description check ❓ Inconclusive The description is incomplete; multiple required checklist items are unchecked (documentation, testing, self-review, etc.), and no evidence is provided that these tasks were completed. Provide evidence or confirmation that the tasks in the checklist have been completed, or check the relevant boxes once completed.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main objective of the PR: enhancing TypeScript type hints for the util-formatDate utility function.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jinmao88 jinmao88 changed the title 增强 util-formatDate ts 类型提示 typo: 增强 util-formatDate ts 类型提示 Nov 9, 2025
@jinmao88 jinmao88 changed the title typo: 增强 util-formatDate ts 类型提示 chroe: 增强 util-formatDate ts 类型提示 Nov 9, 2025
@jinmao88 jinmao88 changed the title chroe: 增强 util-formatDate ts 类型提示 chore: 增强 util-formatDate ts 类型提示 Nov 9, 2025
@jinmao88 jinmao88 merged commit 6bbe523 into vbenjs:main Nov 9, 2025
14 of 17 checks passed
ethan-wilson-1291 added a commit to ethan-wilson-1291/vue-vben-admin that referenced this pull request Nov 15, 2025
* chore: export framework components for use in independent pages

* feat: 增加基于图片拼图切片平移的验证码

* feat: 增加基于图片拼图切片平移的验证码

* feat(@vben/plugins): 新增VxeGrid组件插槽类型定义 (vbenjs#6452)

* feat(@vben/plugins): 新增VxeGrid组件插槽类型定义

Closes: vbenjs#6451

* fix(@vben/plugins): 优化vxe-table组件的插槽类型定义

修复Omit导致的类型丢失

* fix: 接口返回子节点为空数组时,还会显示折叠箭头 (vbenjs#6463)

* fix(@vben/common-ui): add page footer's height to calc contentstyle (vbenjs#6422)

* revert: page height fixed,revert vbenjs#6422

* feat: 增加基于图片拼图切片平移的验证码

* feat: 增加基于图片拼图切片平移的验证码

* feat: add scrollToFirstError to the form component

* feat: add scrollToFirstError to the form component

* docs: update vben-drawer.md (vbenjs#6478)

* docs: update vben-drawer.md

* docs: update vben-drawer.md

---------

Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>

* chore: fix lint warning (vbenjs#6487)

* fix: 锁定屏幕页面样式自适应 (vbenjs#6480)

* chore: update-vxe-table (vbenjs#6516)

* chore: update vxe-pc-ui,vxe-table

* fix(ui): 修复代理配置初始化方法名错误

* fix(ui): 修改远程表格刷新配置

* chroe: update vxeTable

更新到最新

* feat: add function support for formItemClass prop (vbenjs#6511)

* feat: add function support for formItemClass prop

* feat: add try-catch to formItemClass function

* fix: formItemClass function ts error

---------

Co-authored-by: sqchen <chenshiqi@sshlx.com>

* feat: add animation effects to VbenModal component

* fix: fix vxeTable commit proxy (vbenjs#6536)

* fix: 修正use-vxe-grid中的代理配置提交类型

* chore: change config

* chore: release v5.5.8

* fix: adding roles does not automatically refresh (vbenjs#6548)

* fix: adding roles does not automatically refresh

* style: fix code style err

* perf: perf the control logic of `VbenModal` full screen and header (vbenjs#6566)

* resolve the issue of header=false and full screen button display but not operable

* feat: add dingding login

* fix: 修复双列布局模式下,路由为hideInMenu时,空白右列

* fix(@vben/layouts): respect base URL when opening route in new window (vbenjs#6583)

Previously, the generated URL for opening routes in a new window did not include the router base,
which led to incorrect paths when the app was deployed under a subdirectory (e.g., /admin/).
This change ensures that the resolved path includes the configured base by using
router.resolve(path).href.

* perf: 优化useVbenForm样式 (vbenjs#6611)

* perf(style): 优化useVbenForm垂直布局 actions 样式

* perf(style): 优化useVbenForm actions 布局样式

- 操作按钮组显示位置
```
actionPosition?: 'center' | 'left' | 'right';
```
- 操作按钮组的样式
```
actionType?: 'block' | 'inline'
inline: 行类显示,block: 新一行单独显示
```

* perf: 优化useVbenForm actions 布局样式

删除 actionType
增加 actionLayout
- actionLayout?: 'inline' | 'newLine' | 'rowEnd';
- newLine: 在新行显示。rowEnd: 在行内显示,靠右对齐(默认)。inline: 使用grid默认样式
- 删除无用代码 queryFormStyle

* perf: 优化useVbenForm使用案例

* perf: 优化form组件样式

去掉padding,改为gap

* docs: update vben-form.md

* fix: 修复FormMessage位置

* perf: Avoid direct mutation of props object.

-  props.actionLayout = props.actionLayout || 'rowEnd';
-  props.actionPosition = props.actionPosition || 'right';
+  const actionLayout = props.actionLayout || 'rowEnd';
+  const actionPosition = props.actionPosition || 'right';

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: 修复 wrapperClass 权重

* fix: 全局搜索结果不匹配 vbenjs#6603

* fix: 避免FormMessage溢出

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: 优化文件下载器方法

* fix(@vben/backend-mock): fix all ts type errors in this module (vbenjs#6613)

* fix(@vben/backend-mock): 修复所有 ts 类型报错

* fix(@vben/backend-mock): 修复该模块所有 ts 类型报错

* fix(@vben/backend-mock): 解决 coderabbitai

* fix(@vben/backend-mock): 解决 coderabbitai

* fix(@vben/backend-mock): 解决 coderabbitai

* fix(@vben/backend-mock): go back to the last modification (vbenjs#6634)

* fix(@vben/backend-mock): the version went back to the last submission, and the latest submission was completely useless.

* fix: resolve conflicts

* fix: 修复mock里面eventHandler重复导致无法启动 (vbenjs#6631)

* fix:update (vbenjs#6635)

* chore: release 5.5.9

* feat: vBenForm add layout: inline (vbenjs#6644)

* chore: modify the contributor showcase in the README (vbenjs#6636)

* chore: Upgrade vite to version 7.x (vbenjs#6645)

* fix: meta.link invalid issue

* fix: fix the issue of `VbenForm` `compact` reactive failure (vbenjs#6654)

* fix: 修复在 hash 路由模式下无法在新窗口打开路由的问题 (vbenjs#6652)

此问题是由于 PR vbenjs#6583 中新增的 `resolveHref` 函数导致的。其在 hash 路由模式下,得到的 URL 会包含 #/ 前缀。在经过 openRouteInNewWindow 的逻辑后就会出现两次 /# 前缀

* chore(docs): update the component import of the form adapter description in the document (vbenjs#6656)

* fix: 增加对不支持的 HTTP 方法的错误处理

* fix: fix the issue of excessive line spacing in vbenForm (vbenjs#6653)

* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距

* fix: the bug in the lock method of the vbenModal component (vbenjs#6648)

* fix: 修复角色修改时VbenTree组件没有回显选中 (vbenjs#6662)

* fix: 修复角色修改时VbenTree组件没有回显选中

* chore: use nextTick

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: merge

* chore: 更新

---------

Co-authored-by: haiyinlong <haiyinlong@uhigame.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: cannot read properties of null (reading 'nextSibling') (vbenjs#6667)

* fix(@vben/web-ele): the main color tone for switching between dark and light themes has been reset (vbenjs#6678)

* fix: appendToMain warning (vbenjs#6684)

* fix: 角色管理,授权的树形组件,取消勾选叶子节点,父级节点状态错误 (vbenjs#6680)

Co-authored-by: haiyinlong <haiyinlong@uhigame.com>

* fix(@vben-core/shadcn-ui): 修复VbenPinInput组件在点击获取验证码和回车同时进行时会重复触发计时器的问题 (vbenjs#6705)

* fix(@vben/common-ui): resolve vbenjs#6698 (vbenjs#6700)

* fix(@vben/common-ui): resolve vbenjs#6698

* fix(@vben/common-ui): resolve vbenjs#6698

* fix(@vben/common-ui): resolve conversation

* fix(@vben/common-ui): resolve vbenjs#6698

* feat: add SSE support to request-client

* feat: add SSE support to request-client

* fix:
1、VbenTree新增是否全选、展开折叠功能;
2、解决当点击子节点label文字区域,而非checkbox时,关联父组件不能选中问题;
3、优化子节点选中时关联父节点选中功能:删除VbenTree中processParentSelection方法,改为在onSelect中实现,原因:processParentSelection在每次模型值更新时都会被调用,且计算复杂度为O(n^2),onSelect只在交互时触发,复杂度为O(n);
4、新增中间层tree组件,处理无数据时显示场景(显示图标Inbox和国际化comom.noData文本);
5、为防止父组件传值子组件boolean类型默认false问题,新增treePropsDefaults方法,为TreeProps赋默认值,Tree组件和VbenTree组件统一使用;
6、优化VbenTree组件整体样式(优化padding、margin、gap值,优化type为button时outline左右空白区域不对称问题),优化内部header、footer插槽样式。

* fix: 全选时过滤disabled的节点

* fix: 节点选中时过滤父节点禁用状态

* feat(authentication): 二维码登录和验证码登录组件增加返回按钮显隐配置 (vbenjs#6713)

- 在 CodeLogin 和 QrcodeLogin 组件中添加 showBack 属性
- 根据 showBack 属性决定是否显示返回按钮
- 默认值为 true,即默认显示返回按钮

* feat(common-ui): 添加 Tree 组件

- 在 common-ui 包中新增 Tree 组件
- 实现了基本的树形结构展示功能
- 集成了 VbenTree 组件和自定义样式- 添加了空数据时的占位展示

* chore: update deps vxe, vxe-table: 4.14.4 -> 4.16.11  vxe-pc-ui: 4.7.… (vbenjs#6752)

* chore: update deps vxe, vxe-table: 4.14.4 -> 4.16.11  vxe-pc-ui: 4.7.12 -> 4.9.29

* fix: resolve the ESLint warning generated by vbenjs#6317

* fix: 解决搜索表单中arrayToStringFields属性无法在搜索时生效的问题 (vbenjs#6591)

- 合并handleArrayToStringFields与handleStringToArrayFields为handleMultiFields
- 在handleMultiFields判断arrayToString或stringToArray
- 删除两个方法在其他地方的引用 统一为在handleRangeTimeValue内调用handleMultiFields实现数据转换

Co-authored-by: 宛晴 <wanqing@mengtaigroup.com>

* perf: 表单需要通过权限控制是否需要展示,dependencies.if 这种方式需要别triggerFields触发字段,不能满足要求 (vbenjs#6756)

* fix: 修复注解错误 (vbenjs#6763)

* fix: 修复部分场景 echarts 在使用 v-show 时获取不到 width 的问题 (vbenjs#6776)

* fix: 修复设置表单值时合并子对象的错误 (vbenjs#6780)

Co-authored-by: shier <shier@shierd.com>

* fix(theme-button): fix flicker during theme switch (vbenjs#6782)

* fix: watermark create error vbenjs#6788 (vbenjs#6789)

Co-authored-by: liwei567 <liwei567@example.com>

* chore: 更换其他登录方式图标为彩色图标,新增其他登录方式tooltip文字提示 (vbenjs#6799)

* feat: 1、新增水印文案自定义功能;2、input-item输入框组件新增清除功能(可用于快捷清除水印文案);3、偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果 (vbenjs#6800)

* feature: 新增水印文案自定义功能;

* chore: 偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果

* chore: 新增是否开启首选项导航栏(外观、布局、快捷键、通用)吸顶效果,调整部分样式 (vbenjs#6804)

* fix: 混合双列 onMounted 关闭二级侧边栏 (vbenjs#6807)

Co-authored-by: ldc <lidchen@tencent.com>

* fix: 修复mock-data.ts父id错误

* fix: 优化左侧和右侧认证面板动画效果

* fix: 锁屏和解锁密码输入框自动聚焦

* fix: 优化Checkbox组件hover样式,Input组件placeholder样式,TabsList组件圆角样式

* chore: 优化侧边栏展开折叠图标

* fix: 修复对话框modal组件方法名错误

* fix: 调整zh-CN/system.json中<"title": "系统管理">配置位置,保持与en-US/system.json中位置一致

* fix: 优化双列布局组件点击展开左侧按钮位置不居中问题

* feat: 新增集成tdesign组件的apps

* feat: increase support for multiple time zones

* feat: increase support for multiple time zones

* feat: increase support for multiple time zones

* feat: increase support for multiple time zones

* feat: increase support for multiple time zones

* chore: 一些调整和兼容性更新

* chore: 一些调整

* chore: fix lint

* chore: fix lint

* feat: increase support for multiple time zones

 * 优化实现方法

* feat: increase support for multiple time zones

 * 优化实现方法

* feat: increase support for multiple time zones

 * 优化实现方法

* feat: increase support for multiple time zones

 * 优化实现方法

* fix: resolve the issue of logout failure caused by the timezone store

* fix: resolve the issue of logout failure caused by the timezone store

* chore(timezone): 添加 $reset 方法并初始化时区存储

- 在时区存储中添加 `$reset` 方法
-修复导入语句引号为双引号
- 优化时区初始化错误处理逻辑- 导出 `$reset` 方法以便外部调用- 确保时区设置与默认选项同步
- 提升代码一致性和可维护性

* chore: lint

* feat: add theme-aware logo support via optional sourceDark configuration (vbenjs#6866)

* Initial plan

* Initial exploration and setup

Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>

* Add support for separate light and dark theme logos

Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>

* Update documentation with dark theme logo configuration

Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>

* feat: Add theme-aware logo support for authentication/login page

Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>

* revert: .npmrc

Signed-off-by: aonoa <1991849113@qq.com>

---------

Signed-off-by: aonoa <1991849113@qq.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
Co-authored-by: aonoa <1991849113@qq.com>

* refactor(jwt): 更新 JWT 工具函数实现方式 (vbenjs#6869)

refactor(jwt): 更新 JWT 工具函数实现方式

- 将默认导入 jsonwebtoken 改为解构导入 sign 和 verify 方法

* Revert "refactor(jwt): 更新 JWT 工具函数实现方式 (vbenjs#6869)"

This reverts commit a854760.

* chore(deps): bump SamKirkland/FTP-Deploy-Action (vbenjs#6873)

Bumps the non-breaking-changes group with 1 update: [SamKirkland/FTP-Deploy-Action](https://github.com/samkirkland/ftp-deploy-action).


Updates `SamKirkland/FTP-Deploy-Action` from 4.3.5 to 4.3.6
- [Release notes](https://github.com/samkirkland/ftp-deploy-action/releases)
- [Commits](SamKirkland/FTP-Deploy-Action@v4.3.5...v4.3.6)

---
updated-dependencies:
- dependency-name: SamKirkland/FTP-Deploy-Action
  dependency-version: 4.3.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @vueuse/integrations from 12.8.2 to 14.0.0 (vbenjs#6861)

Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 12.8.2 to 14.0.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v14.0.0/packages/integrations)

---
updated-dependencies:
- dependency-name: "@vueuse/integrations"
  dependency-version: 14.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @types/node from 12.20.55 to 24.9.2 (vbenjs#6860)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.55 to 24.9.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.9.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update README.md (vbenjs#6828)

Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>

* fix: replace ant-design-vue with tdesign components in web-tdesign app (vbenjs#6880)

* Initial plan

* fix: replace ant-design-vue with tdesign components

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* fix: remove trailing comma in package.json

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* chore: apply coderabbitai suggestions

* fix: fix build error

* feat: migrate from Radix Vue to Reka UI (vbenjs#6870)

* Initial plan

* Update dependencies and imports from radix-vue to reka-ui

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* Fix type errors after reka-ui migration

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* Run formatter to fix code style

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* chore: enable VITE_NITRO_MOCK

* chore: demo i18n

* chore: update demo routes

* chore: add tdesign logo

* fix: fix typecheck

* fix: fix lint

* fix: fix lint

* fix:  updating Tailwind CSS variables from --radix-* to --reka-* (vbenjs#6890)

* fix: radix => reka

* chore: add reka cspell

* fix: Composition url

* fix: prevent JSONBigInt parsing error on non-string data (vbenjs#6891)

* Initial plan

* Fix json-bigint serialization error when data is not a string

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* chore: 增强 util-formatDate ts 类型提示 (vbenjs#6886)

* feat: 为 auth layout 添加 slot: logo, 提升组件的灵活性和可复用性

* feat: 增强 util-formatDate ts 类型提示

* feat: add profile comps

* feat: antdv add profile

* feat: route add profile

* fix: types

* feat: ele add profile

* feat: naive add profile

* feat: tdesign add profile

* feat: playground add profile

* feat: add read and delete for each notification

* feat: sport notification link

* fix: for tdesign

* feat: add form handleCollapsedChange event (vbenjs#6893)

* feat: add form handleCollapsedChange event

* fix: ts lint

* fix: ts error

---------

Co-authored-by: sqchen <chenshiqi@sshlx.com>

* chore(deps): bump echarts from 5.6.0 to 6.0.0 (vbenjs#6859)

Bumps [echarts](https://github.com/apache/echarts) from 5.6.0 to 6.0.0.
- [Release notes](https://github.com/apache/echarts/releases)
- [Commits](apache/echarts@5.6.0...6.0.0)

---
updated-dependencies:
- dependency-name: echarts
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>

* chore: update depends

* refactor(shared): 替换 lodash 工具函数为 es-toolkit 兼容版本

- 将 get 和 isEqual 方法从 lodash 替换为 es-toolkit/compat 导出
- 更新 package.json 添加 es-toolkit 依赖
- 注释掉原有的 lodash.get 和 lodash.isequal 导出语句- 锁定 es-toolkit 版本至1.41.0 并更新相关依赖配置

* chore(@vben/utils): 替换 lodash 工具函数为 es-toolkit 实现

* chore(@vben/utils): 移除冗余的 lodash 依赖

* chore: 替换 lodash-es为 es-toolkit 并调整样式引入方式 (vbenjs#6912)

* chore(deps): bump stylelint-config-recommended from 14.0.1 to 17.0.0 (vbenjs#6901)

Bumps [stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) from 14.0.1 to 17.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-recommended/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-recommended/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint-config-recommended@14.0.1...17.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-recommended
  dependency-version: 17.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: 更新依赖

* chore(deps): bump the non-breaking-changes group across 1 directory with 26 updates (vbenjs#6914)

Bumps the non-breaking-changes group with 20 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [vue](https://github.com/vuejs/core) | `3.5.23` | `3.5.24` |
| [@clack/prompts](https://github.com/bombshell-dev/clack/tree/HEAD/packages/prompts) | `0.10.1` | `0.11.0` |
| [@iconify/json](https://github.com/iconify/icon-sets) | `2.2.404` | `2.2.406` |
| [@pnpm/workspace.read-manifest](https://github.com/pnpm/pnpm) | `1000.2.5` | `1000.2.6` |
| [@tanstack/vue-query](https://github.com/TanStack/query/tree/HEAD/packages/vue-query) | `5.90.7` | `5.91.0` |
| [@tanstack/vue-store](https://github.com/TanStack/store/tree/HEAD/packages/vue-store) | `0.7.7` | `0.8.0` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.46.3` | `8.46.4` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.46.3` | `8.46.4` |
| [@vue/shared](https://github.com/vuejs/core/tree/HEAD/packages/shared) | `3.5.23` | `3.5.24` |
| [commitlint-plugin-function-rules](https://github.com/vidavidorra/commitlint-plugin-function-rules) | `4.1.0` | `4.1.1` |
| [eslint-config-turbo](https://github.com/vercel/turborepo/tree/HEAD/packages/eslint-config-turbo) | `2.6.0` | `2.6.1` |
| [lucide-vue-next](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-vue-next) | `0.507.0` | `0.553.0` |
| [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.6.14` | `0.7.1` |
| [sass](https://github.com/sass/dart-sass) | `1.93.3` | `1.94.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.8.2` | `5.9.3` |
| [unplugin-element-plus](https://github.com/element-plus/unplugin-element-plus) | `0.10.0` | `0.11.1` |
| [vxe-pc-ui](https://github.com/x-extends/vxe-pc-ui) | `4.10.16` | `4.10.22` |
| [vxe-table](https://github.com/x-extends/vxe-table) | `4.17.10` | `4.17.14` |
| [zod-defaults](https://github.com/Ced-Sharp/zod-defaults) | `0.1.3` | `0.2.3` |
| [@ast-grep/napi](https://github.com/ast-grep/ast-grep) | `0.37.0` | `0.39.9` |



Updates `vue` from 3.5.23 to 3.5.24
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](vuejs/core@v3.5.23...v3.5.24)

Updates `@clack/prompts` from 0.10.1 to 0.11.0
- [Release notes](https://github.com/bombshell-dev/clack/releases)
- [Changelog](https://github.com/bombshell-dev/clack/blob/@clack/prompts@0.11.0/packages/prompts/CHANGELOG.md)
- [Commits](https://github.com/bombshell-dev/clack/commits/@clack/prompts@0.11.0/packages/prompts)

Updates `@iconify/json` from 2.2.404 to 2.2.406
- [Commits](iconify/icon-sets@2.2.404...2.2.406)

Updates `@pnpm/workspace.read-manifest` from 1000.2.5 to 1000.2.6
- [Release notes](https://github.com/pnpm/pnpm/releases)
- [Commits](https://github.com/pnpm/pnpm/commits)

Updates `@tanstack/vue-query` from 5.90.7 to 5.91.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Changelog](https://github.com/TanStack/query/blob/main/packages/vue-query/CHANGELOG.md)
- [Commits](https://github.com/TanStack/query/commits/@tanstack/vue-query@5.91.0/packages/vue-query)

Updates `@tanstack/vue-store` from 0.7.7 to 0.8.0
- [Release notes](https://github.com/TanStack/store/releases)
- [Commits](https://github.com/TanStack/store/commits/v0.8.0/packages/vue-store)

Updates `@typescript-eslint/eslint-plugin` from 8.46.3 to 8.46.4
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.4/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.46.3 to 8.46.4
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.4/packages/parser)

Updates `@vue/shared` from 3.5.23 to 3.5.24
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits/v3.5.24/packages/shared)

Updates `autoprefixer` from 10.4.21 to 10.4.22
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.21...10.4.22)

Updates `commitlint-plugin-function-rules` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/vidavidorra/commitlint-plugin-function-rules/releases)
- [Changelog](https://github.com/vidavidorra/commitlint-plugin-function-rules/blob/main/CHANGELOG.md)
- [Commits](vidavidorra/commitlint-plugin-function-rules@v4.1.0...v4.1.1)

Updates `eslint-config-turbo` from 2.6.0 to 2.6.1
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/release.md)
- [Commits](https://github.com/vercel/turborepo/commits/v2.6.1/packages/eslint-config-turbo)

Updates `lodash.clonedeep` from 4.5.0 to 
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Updates `lodash.get` from 4.4.2 to 
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Updates `lodash.isequal` from 4.5.0 to 
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Updates `lodash.set` from 4.3.2 to 
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Updates `lucide-vue-next` from 0.507.0 to 0.553.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.553.0/packages/lucide-vue-next)

Updates `prettier-plugin-tailwindcss` from 0.6.14 to 0.7.1
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.6.14...v0.7.1)

Updates `sass` from 1.93.3 to 1.94.0
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.93.3...1.94.0)

Updates `typescript` from 5.8.2 to 5.9.3
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](microsoft/TypeScript@v5.8.2...v5.9.3)

Updates `unplugin-element-plus` from 0.10.0 to 0.11.1
- [Release notes](https://github.com/element-plus/unplugin-element-plus/releases)
- [Commits](element-plus/unplugin-element-plus@v0.10.0...v0.11.1)

Updates `vxe-pc-ui` from 4.10.16 to 4.10.22
- [Release notes](https://github.com/x-extends/vxe-pc-ui/releases)
- [Commits](https://github.com/x-extends/vxe-pc-ui/commits)

Updates `vxe-table` from 4.17.10 to 4.17.14
- [Release notes](https://github.com/x-extends/vxe-table/releases)
- [Commits](x-extends/vxe-table@4.17.10...4.17.14)

Updates `zod-defaults` from 0.1.3 to 0.2.3
- [Commits](https://github.com/Ced-Sharp/zod-defaults/commits)

Updates `@ast-grep/napi` from 0.37.0 to 0.39.9
- [Release notes](https://github.com/ast-grep/ast-grep/releases)
- [Changelog](https://github.com/ast-grep/ast-grep/blob/main/CHANGELOG.md)
- [Commits](ast-grep/ast-grep@0.37.0...0.39.9)

Updates `@vue/reactivity` from 3.5.23 to 3.5.24
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits/v3.5.24/packages/reactivity)

---
updated-dependencies:
- dependency-name: vue
  dependency-version: 3.5.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@clack/prompts"
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@iconify/json"
  dependency-version: 2.2.406
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@pnpm/workspace.read-manifest"
  dependency-version: 1000.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@tanstack/vue-query"
  dependency-version: 5.91.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@tanstack/vue-store"
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.46.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.46.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@vue/shared"
  dependency-version: 3.5.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: autoprefixer
  dependency-version: 10.4.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: commitlint-plugin-function-rules
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: eslint-config-turbo
  dependency-version: 2.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: lodash.clonedeep
  dependency-version: 
  dependency-type: direct:production
  dependency-group: non-breaking-changes
- dependency-name: lodash.get
  dependency-version: 
  dependency-type: direct:production
  dependency-group: non-breaking-changes
- dependency-name: lodash.isequal
  dependency-version: 
  dependency-type: direct:production
  dependency-group: non-breaking-changes
- dependency-name: lodash.set
  dependency-version: 
  dependency-type: direct:production
  dependency-group: non-breaking-changes
- dependency-name: lucide-vue-next
  dependency-version: 0.553.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: sass
  dependency-version: 1.94.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: typescript
  dependency-version: 5.9.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: unplugin-element-plus
  dependency-version: 0.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: vxe-pc-ui
  dependency-version: 4.10.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: vxe-table
  dependency-version: 4.17.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: zod-defaults
  dependency-version: 0.2.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@ast-grep/napi"
  dependency-version: 0.39.9
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@vue/reactivity"
  dependency-version: 3.5.24
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: rollback zod-defaults version to 0.1.3 (vbenjs#6925)

* Initial plan

* fix: downgrade zod-defaults from 0.2.3 to 0.1.3 for Zod v3 compatibility

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>

* fix: 更新依赖后的表格显示问题

* feat: update npm lock file

---------

Signed-off-by: aonoa <1991849113@qq.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: zwtvip <zwtvip@qq.com>
Co-authored-by: chenweiran <cwr0401@gmail.com>
Co-authored-by: RanMaoting <62940878+RanMaoting@users.noreply.github.com>
Co-authored-by: xue-jn <40727429+xue-jn@users.noreply.github.com>
Co-authored-by: someone-cool <54130329+aha-weikai@users.noreply.github.com>
Co-authored-by: Netfan <netfan@foxmail.com>
Co-authored-by: sqchen <9110848@qq.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: panda7 <csq6266@gmail.com>
Co-authored-by: HamWong <81913444+hamwong233@users.noreply.github.com>
Co-authored-by: sqchen <chenshiqi@sshlx.com>
Co-authored-by:  panda7 < csq6266@gmail.com>
Co-authored-by: vben <ann.vben@gmail.com>
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
Co-authored-by: ming4762 <zhongming4762@hotmail.com>
Co-authored-by: leo <gyy137145@163.com>
Co-authored-by: xueyang <4927411+sekaiai@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: lighua <877312980@qq.com>
Co-authored-by: 谦元吉 <87116441+qianYuanJ@users.noreply.github.com>
Co-authored-by: gxc685 <72901990+gxc685@users.noreply.github.com>
Co-authored-by: 菠萝吹雪 <58333667+yuguaa@users.noreply.github.com>
Co-authored-by: Svend <svend.jin@gmail.com>
Co-authored-by: Ken Hai <wobunengmeiyou_ni@163.com>
Co-authored-by: haiyinlong <haiyinlong@uhigame.com>
Co-authored-by: LinaBell <15891557205@163.com>
Co-authored-by: 螃蟹 <52234099+pangxie231@users.noreply.github.com>
Co-authored-by: zouawen <846027729@qq.com>
Co-authored-by: oc <oc@yi.team>
Co-authored-by: Jin Mao <jinmao88@qq.com>
Co-authored-by: boisduval <sniksil@126.com>
Co-authored-by: 宛晴 <wanqing@mengtaigroup.com>
Co-authored-by: pangyajun123 <284390918@qq.com>
Co-authored-by: Cup_Of_Bread <508087823@qq.com>
Co-authored-by: vent <101112169+ventupx@users.noreply.github.com>
Co-authored-by: shierd <lmblackh@gmail.com>
Co-authored-by: shier <shier@shierd.com>
Co-authored-by: HaHa <110732547+bprag@users.noreply.github.com>
Co-authored-by: lw567 <535847787@qq.com>
Co-authored-by: liwei567 <liwei567@example.com>
Co-authored-by: lidongcheng88 <45726708+lidongcheng88@users.noreply.github.com>
Co-authored-by: ldc <lidchen@tencent.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
Co-authored-by: aonoa <1991849113@qq.com>
Co-authored-by: zengmingyong <42780443+zengmingyong@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olexandr88 <radole1203@gmail.com>
Co-authored-by: xingyu <xingyu4j@vip.qq.com>
Co-authored-by: Utopia <greatauk11@gmail.com>
Co-authored-by: shixi <2375768084@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants